package com.ruoyi.common.constant;

/**
 * 系统通用  常量值
 *
 * @author zcy
 * @date 2019-10-11
 */
public interface CommonConstants {

    /**
     * 成功标记
     */
    Integer SUCCESS = 200;

    /**
     * 错误标记
     */
    Integer ERROR = 500;

    Integer Authorization = 500;
    /**
     * 省市县列表 以pid为item（项） 存储前缀
     */
    String SH_AREA_LIST_BY_PID = "SH_AREA_LIST_BY_PID";

    /**
     * 站点标记前缀
     */
    String STATION_SITE = "STATION_SITE:";

    /**
     * 二轮站点标记前缀
     */
    String STATION_CART_SITE = "STATION_CART_SITE:";

    /**
     * 站点lock锁key标记
     */
    String STATION_SITE_LOCK_KEY = "STATION_SITE_LOCK_KEY";

    /**
     * 站点lock锁value标记
     */
    String STATION_SITE_LOCK_VALUE = "STATION_SITE_LOCK_VALUE";

    /**
     * 监控故障结合前缀
     */
    String OAMM_FAULT_MAP = "OAMM_FAULT_MAP:";

    /**
     * 故障报修结合前缀
     */
    String OAMM_FAULT_REPORT_MAP = "OAMM_FAULT_REPORT_MAP:";

    /**
     * 充电桩设置计费模型Redis前缀
     */
    String CHARGE_PILE_SET_BILL_MODEL = "CHARGE_PILE_SET_BILL_MODEL:";
    /**
     * 地锁数据上送redis前缀
     */
    String SEND_FLOOR_LOCK_DATA="SEND_FLOOR_LOCK_DATA:";
    /**
     * 遥控地锁升降状态redis前缀
     */
    String CONTROL_FLOOR_LOCK="CONTROL_FLOOR_LOCK:";
    /**
     * 遥控地锁升降状态操作人redis前缀
     */
    String CONTROL_FLOOR_LOCK_OPERATOR="CONTROL_FLOOR_LOCK_OPERATOR:";
    /**
     * 充电桩工作参数设置redis前缀
     */
    String SET_OPERATION_PARAM="SET_OPERATION_PARAM:";
    /**
     * 充电桩工作参数设置操作人redis前缀
     */
    String SET_OPERATION_PARAM_OPERATOR="SET_OPERATION_PARAM_OPERATOR:";
    /**
     * 远程更新redis前缀
     */
    String REMOTE_UPDATE="REMOTE_UPDATE:";
    /**
     * 远程更新操作人redis前缀
     */
    String REMOTE_UPDATE_OPERATOR="REMOTE_UPDATE_OPERATOR:";
    /**
     * 对时设置操作人redis前缀
     */
    String SET_TIME_OPERATOR="SET_TIME_OPERATOR:";
    /**
     * 远程重启操作人redis前缀
     */
    String REMOTE_RESTART_OPERATOR="REMOTE_RESTART_OPERATOR:";
    /**
     * 远程重启执行操作redis前缀
     */
    String REMOTE_RESTART_EXECUTION_CONTROL = "REMOTE_RESTART_EXECUTION_CONTROL:";
    /**
     * 邮箱code码存放redis前缀
     */
    String CACHE_EMAIL_CODE = "CACHE_EMAIL_CODE_";
    /**
     * 手机code码存放redis前缀
     */
    String CACHE_PHONE_CODE = "CACHE_PHONE_CODE_";
    /**
     * 验证码 redis key前缀
     * smartFarm项目使用该常量
     */
    String CAPTCHA_CODE_KEY = "CAPTCHA_CODES:";

    /**
     * 验证码有效期（分钟）
     */
    Integer CAPTCHA_EXPIRATION = 2;

    /**
     * AccessToken redis前缀
     */
    String ACCESS_TOKEN="ACCESS_TOKEN:";
    /**
     * http请求
     */
    String HTTP = "http://";

    /**
     * https请求
     */
    String HTTPS = "https://";

    /**
     * 用户名、密码、验证码登录时code码存放redis前缀
     */
    String CACHE_USER_PASSWORD_CODE="CACHE_USER_PASSWORD_CODE_";
    String ADD = "新增";
    String DELETE = "删除";
    String UPDATE = "更新";
    String SELECT = "查询";
    String EXPORT = "导出";

    String DELETE_OK = "删除成功!";

    String EXIT = "退出登录";
    String LOGIN = "登录";

    String IS_LOGIN = "IS_LOGIN";

}
